package com.chenyue.cm.user.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class JdGoodsSkuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public JdGoodsSkuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNull() {
            addCriterion("sku_code is null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNotNull() {
            addCriterion("sku_code is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeEqualTo(String value) {
            addCriterion("sku_code =", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotEqualTo(String value) {
            addCriterion("sku_code <>", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThan(String value) {
            addCriterion("sku_code >", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_code >=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThan(String value) {
            addCriterion("sku_code <", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThanOrEqualTo(String value) {
            addCriterion("sku_code <=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLike(String value) {
            addCriterion("sku_code like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotLike(String value) {
            addCriterion("sku_code not like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIn(List<String> values) {
            addCriterion("sku_code in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotIn(List<String> values) {
            addCriterion("sku_code not in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeBetween(String value1, String value2) {
            addCriterion("sku_code between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotBetween(String value1, String value2) {
            addCriterion("sku_code not between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andAttrInfoIsNull() {
            addCriterion("attr_info is null");
            return (Criteria) this;
        }

        public Criteria andAttrInfoIsNotNull() {
            addCriterion("attr_info is not null");
            return (Criteria) this;
        }

        public Criteria andAttrInfoEqualTo(String value) {
            addCriterion("attr_info =", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoNotEqualTo(String value) {
            addCriterion("attr_info <>", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoGreaterThan(String value) {
            addCriterion("attr_info >", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoGreaterThanOrEqualTo(String value) {
            addCriterion("attr_info >=", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoLessThan(String value) {
            addCriterion("attr_info <", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoLessThanOrEqualTo(String value) {
            addCriterion("attr_info <=", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoLike(String value) {
            addCriterion("attr_info like", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoNotLike(String value) {
            addCriterion("attr_info not like", value, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoIn(List<String> values) {
            addCriterion("attr_info in", values, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoNotIn(List<String> values) {
            addCriterion("attr_info not in", values, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoBetween(String value1, String value2) {
            addCriterion("attr_info between", value1, value2, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andAttrInfoNotBetween(String value1, String value2) {
            addCriterion("attr_info not between", value1, value2, "attrInfo");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlIsNull() {
            addCriterion("sku_imgurl is null");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlIsNotNull() {
            addCriterion("sku_imgurl is not null");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlEqualTo(String value) {
            addCriterion("sku_imgurl =", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlNotEqualTo(String value) {
            addCriterion("sku_imgurl <>", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlGreaterThan(String value) {
            addCriterion("sku_imgurl >", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlGreaterThanOrEqualTo(String value) {
            addCriterion("sku_imgurl >=", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlLessThan(String value) {
            addCriterion("sku_imgurl <", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlLessThanOrEqualTo(String value) {
            addCriterion("sku_imgurl <=", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlLike(String value) {
            addCriterion("sku_imgurl like", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlNotLike(String value) {
            addCriterion("sku_imgurl not like", value, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlIn(List<String> values) {
            addCriterion("sku_imgurl in", values, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlNotIn(List<String> values) {
            addCriterion("sku_imgurl not in", values, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlBetween(String value1, String value2) {
            addCriterion("sku_imgurl between", value1, value2, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuImgurlNotBetween(String value1, String value2) {
            addCriterion("sku_imgurl not between", value1, value2, "skuImgurl");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNull() {
            addCriterion("sku_price is null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNotNull() {
            addCriterion("sku_price is not null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceEqualTo(BigDecimal value) {
            addCriterion("sku_price =", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_price <>", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThan(BigDecimal value) {
            addCriterion("sku_price >", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price >=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThan(BigDecimal value) {
            addCriterion("sku_price <", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price <=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIn(List<BigDecimal> values) {
            addCriterion("sku_price in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_price not in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price not between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIsNull() {
            addCriterion("sku_weight is null");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIsNotNull() {
            addCriterion("sku_weight is not null");
            return (Criteria) this;
        }

        public Criteria andSkuWeightEqualTo(String value) {
            addCriterion("sku_weight =", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotEqualTo(String value) {
            addCriterion("sku_weight <>", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightGreaterThan(String value) {
            addCriterion("sku_weight >", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightGreaterThanOrEqualTo(String value) {
            addCriterion("sku_weight >=", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightLessThan(String value) {
            addCriterion("sku_weight <", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightLessThanOrEqualTo(String value) {
            addCriterion("sku_weight <=", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightLike(String value) {
            addCriterion("sku_weight like", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotLike(String value) {
            addCriterion("sku_weight not like", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIn(List<String> values) {
            addCriterion("sku_weight in", values, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotIn(List<String> values) {
            addCriterion("sku_weight not in", values, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightBetween(String value1, String value2) {
            addCriterion("sku_weight between", value1, value2, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotBetween(String value1, String value2) {
            addCriterion("sku_weight not between", value1, value2, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceIsNull() {
            addCriterion("sku_costprice is null");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceIsNotNull() {
            addCriterion("sku_costprice is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceEqualTo(BigDecimal value) {
            addCriterion("sku_costprice =", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_costprice <>", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceGreaterThan(BigDecimal value) {
            addCriterion("sku_costprice >", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_costprice >=", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceLessThan(BigDecimal value) {
            addCriterion("sku_costprice <", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_costprice <=", value, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceIn(List<BigDecimal> values) {
            addCriterion("sku_costprice in", values, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_costprice not in", values, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_costprice between", value1, value2, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuCostpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_costprice not between", value1, value2, "skuCostprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceIsNull() {
            addCriterion("sku_saleprice is null");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceIsNotNull() {
            addCriterion("sku_saleprice is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceEqualTo(BigDecimal value) {
            addCriterion("sku_saleprice =", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_saleprice <>", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceGreaterThan(BigDecimal value) {
            addCriterion("sku_saleprice >", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_saleprice >=", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceLessThan(BigDecimal value) {
            addCriterion("sku_saleprice <", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_saleprice <=", value, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceIn(List<BigDecimal> values) {
            addCriterion("sku_saleprice in", values, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_saleprice not in", values, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_saleprice between", value1, value2, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalepriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_saleprice not between", value1, value2, "skuSaleprice");
            return (Criteria) this;
        }

        public Criteria andSkuSalesIsNull() {
            addCriterion("sku_sales is null");
            return (Criteria) this;
        }

        public Criteria andSkuSalesIsNotNull() {
            addCriterion("sku_sales is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSalesEqualTo(Integer value) {
            addCriterion("sku_sales =", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesNotEqualTo(Integer value) {
            addCriterion("sku_sales <>", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesGreaterThan(Integer value) {
            addCriterion("sku_sales >", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_sales >=", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesLessThan(Integer value) {
            addCriterion("sku_sales <", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesLessThanOrEqualTo(Integer value) {
            addCriterion("sku_sales <=", value, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesIn(List<Integer> values) {
            addCriterion("sku_sales in", values, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesNotIn(List<Integer> values) {
            addCriterion("sku_sales not in", values, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesBetween(Integer value1, Integer value2) {
            addCriterion("sku_sales between", value1, value2, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_sales not between", value1, value2, "skuSales");
            return (Criteria) this;
        }

        public Criteria andSkuStockIsNull() {
            addCriterion("sku_stock is null");
            return (Criteria) this;
        }

        public Criteria andSkuStockIsNotNull() {
            addCriterion("sku_stock is not null");
            return (Criteria) this;
        }

        public Criteria andSkuStockEqualTo(Integer value) {
            addCriterion("sku_stock =", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockNotEqualTo(Integer value) {
            addCriterion("sku_stock <>", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockGreaterThan(Integer value) {
            addCriterion("sku_stock >", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_stock >=", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockLessThan(Integer value) {
            addCriterion("sku_stock <", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockLessThanOrEqualTo(Integer value) {
            addCriterion("sku_stock <=", value, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockIn(List<Integer> values) {
            addCriterion("sku_stock in", values, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockNotIn(List<Integer> values) {
            addCriterion("sku_stock not in", values, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockBetween(Integer value1, Integer value2) {
            addCriterion("sku_stock between", value1, value2, "skuStock");
            return (Criteria) this;
        }

        public Criteria andSkuStockNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_stock not between", value1, value2, "skuStock");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("create_user like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("create_user not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("update_user like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("update_user not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}